package com.quanyue.music.system.mapper;

import com.quanyue.music.domain.constant.ApplyStatus;
import com.quanyue.music.domain.entity.Domain;
import com.quanyue.music.system.type.DomainItem;
import com.shzisg.mybatis.mapper.auto.AutoMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DomainMapper extends AutoMapper<Domain> {
    List<DomainItem> findByStatus(@Param("status") ApplyStatus status);
}
